package cn.net.zhenchan.model;


import cn.net.zhenchan.base.BaseBO;

import java.io.Serializable;
import java.util.Date;

public class User extends BaseBO implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 3469024930661010394L;

	private Long userId;

    private Long groupId;

    private String userName;

	private String nickName;
    
    private String password;

    private String repassword;
    
    private String returnUrl;
    
    private String email;

    private String mobile;

    private String qq;

    private Date registerTime;

    private String registerTimeStr;
    
    private String registerIp;

    private Date lastLoginTime;

    private String lastLoginTimeStr;
    
    private String lastLoginIp;

    private Integer loginCount;

    private Integer isAdmin;
    
    private String isAdminStr;

    private Integer isDisabled;

    private String isDisabledStr;
    
    private Integer prohibitPost;

    private String prohibitPostStr;
    
    private Date prohibitTime;

    private String prohibitTimeStr;
    
    private Long point;
    
    private String levelName;

    private String introduction;

    private String signed;

    private String avatar;

    private Integer avatarType;

    private Integer topicCount;

    private Integer replyCount;

    private Integer primeCount;

    private Integer postToday;

    private Date lastPostTime;

    private String lastPostTimeStr;
    
    private Integer prestige;

    private String isDelete;
    
    private Integer members;
    
    private Integer isOnline;
    private Integer today;
    private Integer yesterday;
    
    private Integer isAttention = 0;
    
    private String rememberMe;
    
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp == null ? null : registerIp.trim();
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Integer getIsDisabled() {
        return isDisabled;
    }

    public void setIsDisabled(Integer isDisabled) {
        this.isDisabled = isDisabled;
    }

    public Integer getProhibitPost() {
        return prohibitPost;
    }

    public void setProhibitPost(Integer prohibitPost) {
        this.prohibitPost = prohibitPost;
    }

    public Date getProhibitTime() {
        return prohibitTime;
    }

    public void setProhibitTime(Date prohibitTime) {
        this.prohibitTime = prohibitTime;
    }

    public Long getPoint() {
        return point;
    }

    public void setPoint(Long point) {
        this.point = point;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getSigned() {
        return signed;
    }

    public void setSigned(String signed) {
        this.signed = signed == null ? null : signed.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public Integer getAvatarType() {
        return avatarType;
    }

    public void setAvatarType(Integer avatarType) {
        this.avatarType = avatarType;
    }

    public Integer getTopicCount() {
        return topicCount;
    }

    public void setTopicCount(Integer topicCount) {
        this.topicCount = topicCount;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getPrimeCount() {
        return primeCount;
    }

    public void setPrimeCount(Integer primeCount) {
        this.primeCount = primeCount;
    }

    public Integer getPostToday() {
        return postToday;
    }

    public void setPostToday(Integer postToday) {
        this.postToday = postToday;
    }

    public Date getLastPostTime() {
        return lastPostTime;
    }

    public void setLastPostTime(Date lastPostTime) {
        this.lastPostTime = lastPostTime;
    }

    public Integer getPrestige() {
        return prestige;
    }

    public void setPrestige(Integer prestige) {
        this.prestige = prestige;
    }

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getRegisterTimeStr() {
		return registerTimeStr;
	}

	public void setRegisterTimeStr(String registerTimeStr) {
		this.registerTimeStr = registerTimeStr;
	}

	public String getIsAdminStr() {
		return isAdminStr;
	}

	public void setIsAdminStr(String isAdminStr) {
		this.isAdminStr = isAdminStr;
	}

	public String getIsDisabledStr() {
		return isDisabledStr;
	}

	public void setIsDisabledStr(String isDisabledStr) {
		this.isDisabledStr = isDisabledStr;
	}

	public String getProhibitPostStr() {
		return prohibitPostStr;
	}

	public void setProhibitPostStr(String prohibitPostStr) {
		this.prohibitPostStr = prohibitPostStr;
	}

	public String getProhibitTimeStr() {
		return prohibitTimeStr;
	}

	public void setProhibitTimeStr(String prohibitTimeStr) {
		this.prohibitTimeStr = prohibitTimeStr;
	}

	public String getLastPostTimeStr() {
		return lastPostTimeStr;
	}

	public void setLastPostTimeStr(String lastPostTimeStr) {
		this.lastPostTimeStr = lastPostTimeStr;
	}

	public String getLastLoginTimeStr() {
		return lastLoginTimeStr;
	}

	public void setLastLoginTimeStr(String lastLoginTimeStr) {
		this.lastLoginTimeStr = lastLoginTimeStr;
	}

	public String getRepassword() {
		return repassword;
	}

	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}


	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}

	public Integer getMembers() {
		return members;
	}

	public void setMembers(Integer members) {
		this.members = members;
	}

	public Integer getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Integer isOnline) {
		this.isOnline = isOnline;
	}

	public Integer getToday() {
		return today;
	}

	public void setToday(Integer today) {
		this.today = today;
	}

	public Integer getYesterday() {
		return yesterday;
	}

	public void setYesterday(Integer yesterday) {
		this.yesterday = yesterday;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public Integer getIsAttention() {
		return isAttention;
	}

	public void setIsAttention(Integer isAttention) {
		this.isAttention = isAttention;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", groupId=" + groupId + ", userName=" + userName + ", nickName=" + nickName
				+ ", password=" + password + ", repassword=" + repassword + ", returnUrl=" + returnUrl + ", email="
				+ email + ", mobile=" + mobile + ", qq=" + qq + ", registerTime=" + registerTime + ", registerTimeStr="
				+ registerTimeStr + ", registerIp=" + registerIp + ", lastLoginTime=" + lastLoginTime
				+ ", lastLoginTimeStr=" + lastLoginTimeStr + ", lastLoginIp=" + lastLoginIp + ", loginCount="
				+ loginCount + ", isAdmin=" + isAdmin + ", isAdminStr=" + isAdminStr + ", isDisabled=" + isDisabled
				+ ", isDisabledStr=" + isDisabledStr + ", prohibitPost=" + prohibitPost + ", prohibitPostStr="
				+ prohibitPostStr + ", prohibitTime=" + prohibitTime + ", prohibitTimeStr=" + prohibitTimeStr
				+ ", point=" + point + ", levelName=" + levelName + ", introduction=" + introduction + ", signed="
				+ signed + ", avatar=" + avatar + ", avatarType=" + avatarType + ", topicCount=" + topicCount
				+ ", replyCount=" + replyCount + ", primeCount=" + primeCount + ", postToday=" + postToday
				+ ", lastPostTime=" + lastPostTime + ", lastPostTimeStr=" + lastPostTimeStr + ", prestige=" + prestige
				+ ", isDelete=" + isDelete + ", members=" + members + ", isOnline=" + isOnline + ", today=" + today
				+ ", yesterday=" + yesterday + ", isAttention=" + isAttention + "]";
	}

	public String getRememberMe() {
		return rememberMe;
	}

	public void setRememberMe(String rememberMe) {
		this.rememberMe = rememberMe;
	}
	
}